﻿using System;
using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{

    #region ResponseData

    [Serializable]
    public class LoginBaseResponse
    {
        public int code = -1;
    }

    [Serializable]
    public class LoginResponseUserLogin : LoginBaseResponse
    {
        public LoginResponseUserLoginData data;
    }

    [Serializable]
    public class LoginResponseCreateOrder : LoginBaseResponse
    {
        public LoginResponseCreateOrderData data;
    }

    #endregion


    [Serializable]
    public class LoginResponseServerInfo
    {
        public string areaId;
        public string areaName;
        public string serverId;
        public string serverName;
        public string serverIp;
        public int port;
        public int isRmd;
        public int state;
        public int roleCount;
        public string downTimeInfo;
    }

    [Serializable]
    public class LoginResponseUserLoginData
    {
        public string token;
        public string uid;
        public bool checkOtherAccountResult;
        public string lastLoginServerId;
        public bool activation;
        public string accountServerId;
        public List<LoginResponseServerInfo> districts;
    }


    public class LoginResponseCreateOrderData
    {
        public string orderId;
        public int goodsId;
        public string extraParams;
        public int createTime;
    }
}
   
